package com.yysjyr.logisticssystem.workbench.mapper;

import com.yysjyr.logisticssystem.workbench.entity.Address;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface AddressMapper {

    @Select("""
            select id,create_by,sender,sender_address,receiver,receiver_address
            from tbl_address
            where create_by = #{userId}
            """)
    List<Address> selectAddressByUserId(String userId);
}
